projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91932ff
)
add "async" and "await" keywords
author
Tom Tromey
<tom@tromey.com>
Fri, 24 Feb 2017 06:57:59 +0000
(23:57 -0700)
committer
Tom Tromey
<tom@tromey.com>
Fri, 24 Feb 2017 15:11:20 +0000
(08:11 -0700)
* lisp/progmodes/js.el (js--keyword-re): Add async, await.
lisp/progmodes/js.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/js.el
b/lisp/progmodes/js.el
index b42b2bca8228e130841aebdb791842b03389e9d7..6e313dc51b7b3de58a28dcbade6e87b37bad8982 100644
(file)
--- a/
lisp/progmodes/js.el
+++ b/
lisp/progmodes/js.el
@@
-277,7
+277,7
@@
Match group 1 is the name of the macro.")
(defconst js--keyword-re
(js--regexp-opt-symbol
- '("abstract" "break" "case" "catch" "class" "const"
+ '("abstract" "
async" "await" "
break" "case" "catch" "class" "const"
"continue" "debugger" "default" "delete" "do" "else"
"enum" "export" "extends" "final" "finally" "for"
"function" "goto" "if" "implements" "import" "in"